<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<!DOCTYPE html>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
</head>
<body>
<jsp:include page="../frame.jsp"></jsp:include>
<link rel="stylesheet" href="/yibinu_certificate/static/assets/time-line/css/style.css" />
<div id="page-wrapper" >
    <div class="header">
        <h1 class="page-header">
            学生获奖信息管理
        </h1>
        <ol class="breadcrumb">
            <li><a href="/yibinu_certificate/index">首页</a></li>
            <li><a href="/yibinu_certificate/studentPrize/list">学生获奖信息管理</a></li>
            <li class="active">
                学生获奖信息展示
            </li>
        </ol>

    </div>

    <div id="page-inner">
        <div class="row">
            <div class="col-lg-12">
                <div class="card">
                    <div class="card-action">
                        获奖展示
                    </div>
                    <div class="card-content">
                        <div class="row">
                            <section id="cd-timeline" class="cd-container">
                                <c:forEach items="${prizeInfos}" var="p">
                                    <div class="cd-timeline-block">
                                        <div class="cd-timeline-img cd-picture">
                                            <img src="/yibinu_certificate/static/assets/time-line/img/icon_certificate.png">
                                        </div>

                                        <div class="cd-timeline-content">
                                            <h2>${p.prizeName}</h2>
                                            <p>${p.prizeDetails}</p>
                                            <br>
                                            <img src="/yibinu_certificate/file?filename=${p.prizePhoto}">
                                            <a href="#" class="cd-read-more" target="_blank">详细</a>
                                            <span class="cd-date">${fn:substring(p.prizeTime,0,7)}</span>
                                        </div>
                                    </div>
                                </c:forEach>
                            </section>
                        </div>
                        <div class="clearBoth"></div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <!-- /. PAGE INNER  -->
</div>
<!-- /. PAGE WRAPPER  -->
</div>
<!-- /. WRAPPER  -->
</body>
</html>